<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>密码框可见</title>
  <link rel="stylesheet" href="layout.css">
  </head>
<body>
  <div class="main">
    密码：<input id="pwd" type="password" autofocus>
    <div id="eye"></div>
    <input class="pwd-text">
  </div>
<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="main.js"></script>
</body>
</html>
